package com.wendu.oa.dao.security;

import com.wendu.oa.dto.LoginDto;
import com.wendu.oa.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginDao {

    @Select("select u_id,u_name from t_user where u_id = #{u_id} and u_pwd = #{u_pwd}")
    User findUserByIdAndPwd(LoginDto loginDto);

}
